package com.anpy.security.service.impl;

import com.anpy.security.mapper.SysUserMapperImpl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.anpy.security.domain.SysUserEntity;
import com.anpy.security.service.SysUserService;
import com.anpy.security.mapper.SysUserMapper;
import org.hibernate.annotations.Source;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
* @author 39692
* @description 针对表【T_SYS_USER(用户表)】的数据库操作Service实现
* @createDate 2023-03-15 20:27:53
*/
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUserEntity>
    implements SysUserService {

    @Resource
    private SysUserMapperImpl sysUserMapperImpl;

    @Override
    public SysUserEntity getByUserName(String username) {
        return sysUserMapperImpl.getByUserName(username);
    }
}




